package com.cnhis.cloudhealth.clinical.hosnurse.hosmedicine.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;

@Repository
public class HosMedicineDao extends BaseDao{
	public Page medicineAllergyHistory(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosMedicine.medicineAllergyHistory", map, currPage, pageSize);
	}
	public List queryMedicineOffice()throws Exception{
		return queryForList("HosMedicine.queryMedicineOffice", null);
	}
}
